package homework34;

public class Client {
    public static void main(String[] args) {
        SearchContext s1 = new SearchContext1();
        SearchContext s2 = new SearchContext2();
        s1.setSuccessor(s2);
        s1.search("key01");
        s1.search("key02");
    }
}
